package com.ulrica.morning.mapper;

import com.ulrica.morning.dto.PoetryDTO;
import com.ulrica.morning.entity.PoetryInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author LongKui
 * @since 2022/04/25
 */
@Mapper
public interface PoetryMapper {
    PoetryMapper INSTANCE = Mappers.getMapper(PoetryMapper.class);

    PoetryDTO daoToDTO(PoetryInfo info);

}
